package com.lc.railway.http.request;

import java.util.List;

public class ApiNewsListsBean {

    /**
     * status : Y
     * error_code : 200
     * error_msg : 成功
     * data : {"total":2,"per_page":15,"current_page":1,"last_page":1,"data":[{"id":53,"title":"第4期  哈尔滨铁路公安局集中开展春运首日宣传活动","picurl":"http://dxm46.longcai.pw/uploads/20211028/1b1d55455eea573fb1ec22e5e85f585c.jpg","create_time":"2021-10-28 18:19:46"},{"id":52,"title":"政委王剑锋到哈东站派出所检查工作","picurl":"","create_time":"2021-10-28 18:14:46"}]}
     */

    private String status;
    private Integer error_code;
    private String error_msg;
    private DataBeanX data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getError_code() {
        return error_code;
    }

    public void setError_code(Integer error_code) {
        this.error_code = error_code;
    }

    public String getError_msg() {
        return error_msg;
    }

    public void setError_msg(String error_msg) {
        this.error_msg = error_msg;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 2
         * per_page : 15
         * current_page : 1
         * last_page : 1
         * data : [{"id":53,"title":"第4期  哈尔滨铁路公安局集中开展春运首日宣传活动","picurl":"http://dxm46.longcai.pw/uploads/20211028/1b1d55455eea573fb1ec22e5e85f585c.jpg","create_time":"2021-10-28 18:19:46"},{"id":52,"title":"政委王剑锋到哈东站派出所检查工作","picurl":"","create_time":"2021-10-28 18:14:46"}]
         */

        private int total;
        private Integer per_page;
        private Integer current_page;
        private int last_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public Integer getPer_page() {
            return per_page;
        }

        public void setPer_page(Integer per_page) {
            this.per_page = per_page;
        }

        public Integer getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(Integer current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 53
             * title : 第4期  哈尔滨铁路公安局集中开展春运首日宣传活动
             * picurl : http://dxm46.longcai.pw/uploads/20211028/1b1d55455eea573fb1ec22e5e85f585c.jpg
             * create_time : 2021-10-28 18:19:46
             */

            private Integer id;
            private String title;
            private String picurl;
            private String create_time;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPicurl() {
                return picurl;
            }

            public void setPicurl(String picurl) {
                this.picurl = picurl;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }
        }
    }
}
